<!DOCTYPE html>
<script src="../../resources/run-after-layout-and-paint.js"/>
<style>
#transformed {
    width: 100px;
    height: 100px;
    background-color: green;
    transform: translateY(0);
}
</style>
<div id="transformed">
</div>
<script>
    runAfterLayoutAndPaint(function() {
        var transformed = document.getElementById('transformed');
        transformed.style.transform = "translateY(1000px)";
        if (window.eventSender)
            eventSender.keyDown("End");
    }, true);
</script>
